home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Linux Cubed Series 7: Sunsite
/
Linux Cubed Series 7 - Sunsite Vol 1.iso
/
system
/
printing
/
rlpr-1.000
/
rlpr-1
/
rlpr-1.13
/
rlpr-net.h
< prev
next >
Wrap
C/C++ Source or Header
|
1996-06-30
|
828b
|
25 lines
/* filename: rlpr-net.h
* project: rlpr
* author: meem -- meem@sherilyn.wustl.edu
* version: $Id: rlpr-net.h,v 1.4 1996/04/28 21:48:51 meem Exp $
* contents: prototypes for network constants and rlpr functions relating to
* networking...
*
* Time-stamp: <1996/04/20 23:26 -- meem@sherilyn.wustl.edu>
*/
#ifndef RLPR_NET_H
#define RLPR_NET_H
enum { DONE = 0, PRINTQ, RECVJ, SENDQS, SENDQL, REMJ };
enum { ABORTJ = 1, RECVCF = 2, RECVDF = 3};
void open_connection(void); /* initializes a socket connection */
void close_connection(void); /* closes and unlinks a connection */
void recv_job_req(void); /* tells daemon to "receive job" */
void send_cf(int cfd, char *cfname); /* sends daemon controlfile */
void send_df(char *fname, char *dfname); /* sends daemon datafile */
#endif /* RLPR_NET_H */